using Umbraco.Framework;
using Umbraco.Framework.Persistence.Model.Attribution.MetaData;
using Umbraco.Hive.Providers.WordPress.Schema.Model.AttributeGroups;
using Umbraco.Hive.Providers.WordPress.Schema.Model.AttributeTypes;

namespace Umbraco.Hive.Providers.WordPress.Schema.Model.AttributeDefinitions
{
    public class ContentAttributeDefinition : AttributeDefinition
    {
        public const string AliasValue = "wp-post-content";

        public ContentAttributeDefinition()
            : base(AliasValue, "Post Content")
        {
            Id = new HiveId(AliasValue);
            AttributeGroup = new PostDetailsAttributeGroup();
            AttributeType = new RichTextEditorAttributeType();
        }
    }
}